//
//  SuggestModel.swift
//  edu
//
//  Created by karlzhou on 15/11/4.
//  Copyright © 2015年 karlzhou. All rights reserved.
//

import ObjectMapper
class SuggestModel : Mappable{

    var itemId:Int!
    var value: String!
    var iteminfo: Item!
    
    required init?(_ map: Map){
        
    }
     func mapping(map: Map){
        itemId <- map["itemId"]
        value <- map["value"]
        iteminfo <- map["iteminfo"]
    }
    
}

class Item{
    var title: String!//": "【趣味科普】百年之美",
    var url: String!//": "http://open.163.com/movie/2015/9/Q/8/MB2I303NP_MB5M2MRQ8.html",
    var imgurl: String!//": "http://img1.ph.126.net/x444K0hNf4wqJfTYlwgpHA==/6630239833444627660.jpg",
    var bigimgurl: String!
}
